package com.chezhujie.www.persistence;

import com.chezhujie.www.domain.Czjcommodity;
import com.chezhujie.www.domain.vo.BusinessAndPic;

import java.util.List;
import java.util.Map;

/**
* 商品表
* Created by 汤伟杰 on 2017/5/23.
 */
public interface CzjcommodityMapper extends BaseMapper<Czjcommodity>{
    List<Map<String,Object>> listBusinessId(Map<String, Object> param);
    List<Map<String,Object>> listTypeId(Map<String, Object> param);
	BusinessAndPic getCommodity(String id);

    void updateDelByBusinessId(Map<String, Object> param);

    Map<String,Object> queryDetail(Map<String, Object> map);   //商品头像、商品简介、现价、原价、商品名字、商品图片总数、评论总数

    List<Map<String,Object>> getCouponsList(Map<String, Object> param);
}
